
.Fonttype{
    .is-active{
        font-weight: bold;
        color: #42b983;
    }
    .Fonttypelists{
        display: flex;
        flex-direction: column;
        &>span{
            cursor: pointer;
            text-align: center;
            &:hover{
              color: #42b983;
            }
        }
    }
}
.editor{
  &_content{
      &_dome{
         position: relative;
      }
  }
}


.ProseMirror {
  mark{
    color: currentColor;
  }
  table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    margin: 0;
    overflow: hidden; 
    td,
    th {
      min-width: 1em;
      border: 1px solid #0D0D0D;
      padding: 3px 5px;
      vertical-align: top;
      box-sizing: border-box;
      position: relative;

      > * {
        margin-bottom: 0;
      }
    }

    th {
      font-weight: bold;
      text-align: left;
      background-color: #f1f3f5;
    }

    .selectedCell:after {
      z-index: 2;
      position: absolute;
      content: "";
      left: 0; right: 0; top: 0; bottom: 0;
      background: rgba(200, 200, 255, 0.4);
      pointer-events: none;
    }

    .column-resize-handle {
      position: absolute;
      right: -2px;
      top: 0;
      bottom: -2px;
      width: 4px;
      background-color: #adf;
      pointer-events: none;
    }

    p {
      margin: 0;
    }
  }
}



.resize-cursor {
  cursor: ew-resize;
  cursor: col-resize;
}
.ProseMirror {
   
    min-height: 100px;
  }
  .ProseMirror-focused {
    outline-style: none;
  }
 
  code{
    color: #fbbf24;
    background: #475569;
      border-radius: 3px;
      padding: 3px 5px;
      margin: 0 2px;
      font-size: 12px;
  }
  blockquote{
    font-size: 14px;
    padding: 6px 23px;
    margin: 22px 0;
    border-left: 6px solid #42b983;
    background-color: #f3f5f7;
    font-weight: 400;
  }
    // 代码块样式
    .ProseMirror {
      > * + * {
        margin-top: 0.75em;
      }
      ul {
        padding: 0 1rem;
        list-style: disc;
        li>ul{
          list-style:circle;
        }
      }
      ol {
        padding: 0 1rem;
        list-style:decimal;
        li{
          margin: 2px 0;
          ul{
            list-style:circle;
          }
        }
      }
      pre {
        background: #475569;
        color: #FFF;
        font-family: 'JetBrainsMono', monospace;
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
    
        code {
          color: inherit;
          padding: 0;
          background: none;
          font-size: 0.8rem;
        }
    
        .hljs-comment,
        .hljs-quote {
          color: #616161;
        }
    
        .hljs-variable,
        .hljs-template-variable,
        .hljs-attribute,
        .hljs-tag,
        .hljs-name,
        .hljs-regexp,
        .hljs-link,
        .hljs-name,
        .hljs-selector-id,
        .hljs-selector-class {
          color: #F98181;
        }
    
        .hljs-number,
        .hljs-meta,
        .hljs-built_in,
        .hljs-builtin-name,
        .hljs-literal,
        .hljs-type,
        .hljs-params {
          color: #FBBC88;
        }
    
        .hljs-string,
        .hljs-symbol,
        .hljs-bullet {
          color: #B9F18D;
        }
    
        .hljs-title,
        .hljs-section {
          color: #FAF594;
        }
    
        .hljs-keyword,
        .hljs-selector-tag {
          color: #70CFF8;
        }
    
        .hljs-emphasis {
          font-style: italic;
        }
    
        .hljs-strong {
          font-weight: 700;
        }
      }
    } 
  .editor_content{
      font-size: 14px;
      padding: 20px;
      background: #fff;
      border-right: 1px solid #e0f2fe;
      background-color: #f0f9ff;
       height:  75vh;
      overflow-y: scroll;
      &_dome{
        background: #fff;
        border-radius: 5px;
        padding: 10px;
        min-height: 100%;
      }
  }

  .editor_tools{
    display: flex;
    align-items: center;
    border-bottom: 1px solid #cbd5e1;
    padding: 5px 5px;
    background: #fff;
    height: 7vh;
    .textalgins{
       display: flex;
       border-left: 1px solid #cbd5e1;
       border-right: 1px solid #cbd5e1;
       margin: 0 .5rem;
       padding: 0 .5rem;
    }
    .z-dropdown__con{
      margin-right:0 !important;
    }
    .z-dropdown{
    
      &.is-button{
        border: none;
        box-shadow:none;
     }
    }
    .liginColor{
       
    .liginColorlists{
      display: flex;
      flex-direction: column;
      &>span{
        display: inline-block;
        width: 25px;
        height: 25px;
        border-radius: 3px;
        margin: 3px 0;
        cursor: pointer;
        border: 2px solid transparent;
        &.is-active{
           border: 2px solid #fff;
        }
        &:hover{
          border: 2px solid #fff;
        }
      }
    }
     
    }
    .is-active{
      color: #6b8ac0;
      font-weight: bold;
      background-color: #e0f2fe;
    }
    button{
         border: none;
         display: inline-block;
         padding: 5px 7px;
         margin:0 5px; 
         border-radius: 3px;
         line-height: 21px;
         font-size: 1.1rem;
         background-color: #f8fafc;
         &:hover{
              background: #f0f9ff;
              cursor: pointer;
         }
         &.menus{
          position: relative;
          &::before{
            position: absolute;
            left: 50%;
            top: 80%;
            margin-left: -3.5px;
            content: '';
            border: 4px solid transparent;
            border-right: 4px solid rgb(211, 211, 211);
            border-top: 4px solid rgb(211, 211, 211);
            transform: rotate(135deg);
          } 
         }
       
    }
     .z-tooltip__tip{
      background-color: rgb(211, 211, 211);
      color: #616161;
      
      
      &>div{
          padding: 1px 1px;
          white-space: nowrap;
          font-size: 13px;
      }
      &::before{
           background-color: rgb(211, 211, 211);
      }
    }
    .tool-icon{
      display: inline-flex;
      height: 1em;
      width: 1em;
      vertical-align: middle;
    }
  }
  .editor_title{
    font-size: 14px;
    padding: 10px;
    background: #fff;
    border-bottom: 1px solid #e0f2fe;
    display: flex;
    justify-content: space-between;
    &>div:nth-of-type(1){ 
      flex: 1;
      &>input{
        outline-style: none;
        background: transparent;
        font-size: 17px; 
        color: #616161;
        border: none;
        width: 80%;  
      }
      &+div{
          display: flex;
          align-items: center;
          width: 16%;
          justify-content: flex-end;
          &>div{
            background: #60a5fa;
            border-radius: 3px;
            padding: 3px 10px;
            margin: 0 5px;
            cursor: pointer;
            color: #fff;
          }
      }
    }
  }
  .tableWrapper {
    padding: 1rem 0;
    overflow-x: auto;
  }